package com.github.ompc.carrying.client.common;
/**
 * 
 * @author admin
 *
 */
public class CarryingClientConstants {
	/**
	 * 每个消费消息的数组大小
	 */
	public static final int CARRYING_CLIENT_CONSUMER_ARRAY_LENGTH = 8096;
	/**
	 * mappedByeBuffer 大小
	 */
	public static final long CARRYING_CLIENT_BUFFER_SIZE = 1024*1024;
	/**
	 * mappedByteBuffer 边界值
	 */
	public static final long CARRYING_CLIENT_BUFFER_BOUNDARY_VALUE = 256;
	/**
	 * 换行符
	 */
	public static final byte SP = '\r';
	
	public static final byte LF = '\n';
	
	public static final byte[] NEW_LINE= "\r\n".getBytes();
	
	/**
	 * 分段锁数量
	 */
	public static final int SEG_LOCK_COUNTS = 36;
}
